package com.huilian.iotbox.admin.dao;

import com.huilian.iotbox.data.dto.LogLoginDto;
import com.huilian.iotbox.data.po.LogLogin;
import com.huilian.iotbox.data.vo.LogLoginVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LogLoginDao {
    int insert(LogLogin logLogin);

    List<LogLoginVo> findAllByKeyword(LogLoginDto logLoginDto);

    int delete(Integer id);

    void batchDelete(@Param("list") List<Integer> batchDeleteToList);

    void deleteInStartAndEndDateTime(LogLoginDto logLoginDto);
}
